jQuery(document).ready(function () {
	jQuery(".delete").click(function () {
		var answer=confirm("Are you realy remove this domain from blacklist?");
		if(answer) {
			return true;
		}
		return false;
	});
	
	jQuery(".apply-change").click(function () {
		var action = jQuery(".action-value").val();
		if (jQuery(".table tbody tr td input:checked").length) {
			multiple_action(action, server + "/admin/blacklist/process");
		} else {
			alert("No item selected.");
		}
	});
	
	
});